<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head th:replace="common/head :: common_header(~{::link},~{::script})">

	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>江苏税收大数据登陆</title>
	<link type="text/css" rel="stylesheet" th:href="@{/web/login/login.css}"/>

	<script type="text/javascript" th:src="@{${#servletContext.getAttribute('web.static.url')}+'/jquery/jquery_md5.js'}"></script>
	<script type="text/javascript" th:src="@{/web/login/login.js}"></script>
</head>



<body>
<div class="all">
	<div class="top">
		<img th:src="@{/images/login/logo.png}" width="460px;">
		<div class="fl_right">
			<a href="#">亲爱的用户您好，欢迎登录税收大数据平台！</a>
	
		</div>
	</div>


	<div class="middle">

		<img th:src="@{/images/login/rightpic.png}" class="rightpic">
		<img th:src="@{/images/login/leftpic.png}" height="584px;" class="leftpic">
		<div th:if="${null== #request.getSession().getAttribute('swrysfList')}" class="loginBox">
		<form action="/portal/loginIn.c" method="post"  onsubmit="return login()">
		<div class="middle_cont" style="position: relative;">
			<div class="loginbox">
				<div class="login_boxs">
				 	<img th:src="@{/images/login/loginbox_tit.png}" width="270px;" style="margin-bottom: 12px;">
				 	<div class="sr">
				 		<p class="inputname">输入用户名</p>
						<input name="userName" id="userName"/>
				 	</div>
				 	<div class="sr">
				 		<p class="inputname">输入密码</p>
						<input name="passWord" type="password" id="passWord"/>
				 	</div>
					<div th:if="${#request.getSession().getAttribute('code')!=0&&#request.getSession().getAttribute('code')!=null}"
						 th:text="${#request.getSession().getAttribute('msg')}" class="sr "
						 style="color:red;letter-spacing: 1px;">
					</div>
					<button type="submit" class="login_btn">登录</button>
				</div>
			</div>	
		</div>
		</form>
		</div>
		<div th:if="${null!= #request.getSession().getAttribute('swrysfList')}" class="loginBox">
			<form action="/portal/loginInBySwsf.c" method="post">
				<div class="middle_cont" style="position: relative;">
					<div class="loginbox">
						<div class="login_boxs">

							<div class="sr" style="padding-bottom: 15px;">
								<h2 style="color: #505050;font-size: 18px;letter-spacing: 2px;">请选择系统身份</h2>
							</div>
							<div class="sr" style="margin-top: 50px;">
								<select style="height: 50px;font-size:16px; width: 100%" id="role"
										class="form-control selectpicker select-fulllength"
										data-live-search="false" th:remove="all-but-first" th:name="swrysf_dm">
									<option th:each="swrysfMap : ${#request.getSession().getAttribute('swrysfList')}"
											th:value="${swrysfMap.SWRYSF_DM}" th:text="${swrysfMap.RYSFMC}"></option>
								</select>
							</div>
							<div th:if="${#request.getSession().getAttribute('code')!=0&&#request.getSession().getAttribute('code')!=null}"
								 th:text="${#request.getSession().getAttribute('msg')}" class="sr "
								 style="color:red;letter-spacing: 1px;">
							</div>
							<button type="submit" class="login_btn hfl">确认</button>
							<a  th:href="@{/doLogout.do}" target="_top">
								<button type="button" class="login_btn hfr">取消</button>
							</a>
						</div>
					</div>
				</div>
			</form>

		</div>


		<div style="clear: both;"></div>

	</div>

	<div class="footer">
		
		    <p>版权所有：江苏省税务局</p>
			<p>建议使用1280*1024以上的分辨率  16Bit 颜色	IE8以上版本浏览器和中文大字符集</p>
		
	</div>


</div>




</body>
</html>